<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta charset="utf-8" />
	<meta content="width=device-width, initial-scale=1.0" name="viewport" />
	<meta name="description" content="{:config('web_site_description')}" />
	<meta name="keywords" content="{config('web_site_keyword')}">
	<meta name="author" content="程春豪" />
	<meta name="MobileOptimized" content="320" />
	<!--网页logo-->
	<link href="{:config('shortcut_icon')}" rel="shortcut icon">
	<title>{:config('WEB_SITE_TITLE')}</title>
	<!-- Menu marker CSS -->
	<link rel="stylesheet" href="__STATIC__/static/bootstrap/css/bootstrap.css">
	<link rel="stylesheet" href="__STATIC__/static/bootstrap/css/bootstrap.min.css">
	<link href="__HOME__/base/css/fontello.css" rel="stylesheet">
	<!-- Font Awesome CSS -->
	<link href="__HOME__/base/css/font-awesome.min.css" rel="stylesheet">
	<!-- Font simple-line-icons CSS -->
	<link href="__HOME__/base/css/simple-line-icons.css" rel="stylesheet">
	<!-- Font Custom  CSS -->
	<link href="__HOME__/base/css/menumaker.css" rel="stylesheet">
	<!-- OWL CSS -->
	<link href="__HOME__/base/css/owl.carousel.css" rel="stylesheet">
	<!-- Template Style CSS -->
	<link href="__HOME__/base/css/style.css" rel="stylesheet">
	<!-- Stucture CSS -->
	<link href="__HOME__/base/css/stucture.css" rel="stylesheet">
	<!-- Footer CSS -->
	<link rel="stylesheet" href="__STATIC__/home/css/font-awesome.min.css">
	<!--frontPage CSS-->
	<link rel="stylesheet" href="__HOME__/base/part_3/css/part_3.css" rel="stylesheet">
    <link rel="stylesheet" href="__HOME__/base/base.css" rel="stylesheet">
	<!--Buttons CSS-->
	<link rel="stylesheet" href="__HOME__/base/css/buttons.css" rel="stylesheet">

	<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
	<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="__STATIC__/static/bootstrap/js/html5shiv.js"></script>
    <![endif]-->
    {block name="style"}{/block}
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__STATIC__/static/jquery-1.10.2.min.js"></script>
	<![endif]-->
    <!--[if gte IE 9]><!-->
    <script type="text/javascript" src="__STATIC__/static/jquery-2.0.3.min.js"></script>
	<!--<![endif]-->
	<script type="text/javascript" src="__STATIC__/static/bootstrap/js/bootstrap.js"></script>
	<script type="text/javascript" src="__STATIC__/static/bootstrap/js/bootstrap.min.js"></script>
    <!-- 页面header钩子，一般用于加载插件CSS文件和代码 -->
    {:hook('pageHeader')}
	<!-- favicon-icon -->
</head>



	<body>
	<!--+++++++++++++++++++++++++++顶栏part_1 ++++++++++++++++++++++++++++++++++++++++-->
	<div class="topbar">
		<div class="container">
			<div class="row">
				<div class="col-md-5 col-sm-5">
					<p class="wel-msg">{:config('web_set_welcome')}</p>
				</div>
				<div class="col-md-7 col-sm- hidden-xs">
					<div class="topbar-contact">
						<span class="topbar-email topbar-info"><a href="http://mail.163.com"><i class="fa fa-envelope"></i>邮箱:{:config('web_email')}</a></span>
						<span class="topbar-info" >
							{if condition="is_login()"}
							<span class="button-dropdown" data-buttons="dropdown">
								<button class="button button-action button-pill">
									{:$_SESSION['jiajiao_home']['user_auth']['username']} <i class="fa fa-caret-down"></i>
								</button>

								<ul class="button-dropdown-list">
									<li>
										<a href="{:url('user/edit')}">修改个人信息</a>
									</li>
									<li>
										<a href="{:url('user/order_list')}">订单列表</a>
									<li>
										<a href="{:url('user/profile')}">修改密码</a>
									</li>
									<li>
										<a href="{:url('user/logout')}">退出</a>
									</li>
								</ul>
							</span>
							{else/}
							<div class="button-group">
								<a type="button" class="button button-pill button-small button-action" href="{:url('user/login')}">登录</a>
								<a type="button" class="button button-pill button-small button-primary" href="{:url('user/register')}">注册</a>
							</div>
<!--							<button type="button" class="btn btn-info btn-sm"><a href="{:url('user/login')}">登录</a></button>
							<button type="button" class="btn btn-info btn-sm"><a href="{:url('user/register')}">注册</a></button>-->
							{/if}
						</span>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div class="header">
		<div class="container">
			<div class="row">
				<div class="col-md-3"><a class="navbar-brand" href="index.html"><img src="__HOME__/images/logo.png" class="img-responsive" alt="Logo"></a> </div>
				<div class="col-md-9">
					<div class="menu-box">
						<div id="navmenu">
							<ul>
								{volist name="nodes" id="sub_menu"}
								{notempty name="sub_menu"}
								{empty name="$sub_menu._child"}
								<li><a href="{:url($sub_menu.url)}">{$sub_menu.title}</a>
									{else /}<li><a href="#">{$sub_menu.title}</a>
								{/empty}
								{/notempty}
								<!-- 子导航 -->
								{notempty name="$sub_menu._child"}
								<ul>
									{volist name="$sub_menu._child" id="menu"}
									<li>
										<a href="{:url($menu.url)}">{$menu.title}</a>
									</li>
									{/volist}
								</ul>
								{/notempty}
								<!-- /子导航 -->
								</li>
								{/volist}
								<!--{think:nav name="nav"/}
								{eq name="nav.pid" value="0"}
								<li>
									<a href="{$nav.url|get_nav_url}" target="{eq name='nav.target' value='1'}_blank{else/}_self{/eq}">{$nav.title}</a>
								</li>
								{/eq}
								{/think:nav}
								<li class="pull-right"><a href="#" class="call-menu"> <span><i class="fa fa-volume-control-phone mr5"></i>{:config('tel')}</span></a> </li>-->
								<li class="pull-right"><a href="#" class="call-menu"> <span><i class="fa fa-volume-control-phone mr5"></i>{:config('contact_phone_number')}</span></a> </li>
							</ul>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>

	<!--+++++++++++++++++++++++++++菜单栏part_2++++++++++++++++++++++++++++++++++++++ -->
{block name="body"}{/block}
	<!--++++++++++++++++++++++++++右侧悬浮菜单part_3++++++++++++++++++++++++++++++++++++-->
    <div class="slide">
        <ul class="icon">
            <li class="up" title="上一页"></li>
            <li class="qq"></li>
            <li class="tel"></li>
            <li class="wx"></li>
            <li class="down" title="下一页"></li>
        </ul>
        <ul class="info">
            <li class="qq">
                <p>在线沟通，请点我<a href='{php}echo "http://wpa.qq.com/msgrd?v=3&uin=".config("contact_qq")."&site=qq&menu=yes"{/php}' target="_blank">点击QQ联系</a></p>
            </li>
            <li class="tel">
                <p>咨询热线：<br>{:config('contact_phone_number')}<br>客服qq：<br>{:config('contact_qq')}</p>
            </li>
            <li class="wx">
                <div class="img"><img src="{:config('wechat_qr')}" /></div>
            </li>
        </ul>
    </div>
    <div id="btn" class="index_cy" style="z-index:900000000"></div>


	{block name="header"}{/block}
	<!-- /底部 -->
	{:hook("pageFooter")}
	<!-- Footer-section -->
	<div class="footer-section">
		<div class="container">
			<div class="row">
				<div class="col-md-3">
					<div class="footer-contact-box">
						<h2>联系我们</h2>
						<div class="contact-icon">
							<i class="icon-location-pin icons"></i>
							<p>{:config('web_location')}</p>
						</div>
						<div class="contact-icon">
							<i class="icon-envelope icons"></i>
							<p>{:config('web_email')}</p>
						</div>
						<div class="contact-icon">
							<i class="icon-call-out icons"></i>
							<p>{:config('contact_phone_number')}5</p>
						</div>
					</div>
				</div>
				<div class="col-md-offset-1 col-md-3">
					<div class="footer-widget">
						<h2>网站导航</h2>
						<ul class="listnone bullet-arrow-right footer-ul footer-menu">
							{volist name="nodes" id="sub_menu"}
							{notempty name="sub_menu"}
							{empty name="$sub_menu._child"}
							<li><a href="{:url($sub_menu.url)}">{$sub_menu.title}</a>
								{else /}<li><a href="#">{$sub_menu.title}</a>
							{/empty}
							{/notempty}
							{/volist}
						</ul>
					</div>
				</div>
				<div class="col-md-3">
					<div class="footer-widget">
						<h2>工作时间</h2>
						<ul class="listnone footer-ul">
							{:config('working_hours')}
						</ul>
					</div>
				</div>
				<div class="col-md-2">
					<div class="footer-widget">
						<h2>Newsletter</h2>
						<form class="newsletter">
							<div class="form-group">
								<div class="input-group">
									<input class="form-control" id="newsletter" placeholder="Email address" type="text">
									<span class="input-group-btn"><button class="footer-newsletter" type="button"><i class="fa fa fa-arrow-circle-o-right"></i></button></span>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- /Footer-section -->

	<!-- Tiny-footer Section -->
	<div class="tiny-footer-section">
		<div class="container">
			<div class="row">
				<div class="col-md-offset-4 col-md-6">
					<div class="tiny-footer-copyright">{:config('web_site_icp')}</div>
				</div>
			</div>
		</div>
	</div>
	<!-- /Tiny Footer-section -->

	<script type="text/javascript">
        $(function(){
            //	    右侧菜单
            $('.slide .icon li').not('.up,.down').mouseenter(function(){
                $('.slide .info').addClass('hover');
                $('.slide .info li').hide();
                $('.slide .info li.'+$(this).attr('class')).show();//.slide .info li.qq
            });
            $('.slide').mouseleave(function(){
                $('.slide .info').removeClass('hover');
            });
            $('#btn').click(function(){
                $('.slide').toggle();
                if($(this).hasClass('index_cy')){
                    $(this).removeClass('index_cy');
                    $(this).addClass('index_cy2');
                }else{
                    $(this).removeClass('index_cy2');
                    $(this).addClass('index_cy');
                }

            });
        });
	</script>
	<script type="text/javascript" src="__HOME__/base/js/jquery.min.js"></script>
	<script type="text/javascript" src="__HOME__/base/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="__HOME__/base/js/owl.carousel.min.js"></script>
	<script type="text/javascript" src="__HOME__/base/js/waypoints.min.js"></script> <!-- facts count js Required for jquery.counterup.js file -->
	<script type="text/javascript" src="__HOME__/base/js/jquery.counterup.js"></script>
	<script type="text/javascript" src="__HOME__/base/js/menumaker.js"></script>
	<script type="text/javascript" src="__HOME__/base/js/theme.js"></script>
	<script type="text/javascript" src="__HOME__/base/js/buttons.js"></script>
	{include file="base/var"/}
	{block name="script"}{/block} <!-- 用于加载js代码 -->
	<!-- 页面footer钩子，一般用于加载插件JS文件和JS代码 -->


	<div class="hidden"><!-- 用于加载统计代码等隐藏元素 -->
		{block name="hidden"}{/block}
	</div>
</body>
</html>
